package com.nine.service.impl;

import com.nine.dao.TesterDao;
import com.nine.entity.TesterFpa;
import com.nine.service.TesterService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description:
 * @Author:LouFangRui
 * @Date:2022/6/27 15:58
 */
@Service
public class TesterServiceImpl implements TesterService {
	@Autowired
	private TesterDao testerDao;
	/**
	 * 查询该测试者是否存在
	 * */
	@Override
	public List<TesterFpa> selectTester(String name,String phone,Integer testCode) {
		List<TesterFpa> testerFpaList = testerDao.selectTester(name,phone,testCode);
		return testerFpaList;
	}
	/**
	 * 查询测试码是否存在
	 * */
	@Override
	public List<TesterFpa> selectCode(Integer testCode) {
		List<TesterFpa> b = testerDao.selectCode(testCode);
		return b;
	}
}
